/**
 * 
 */
package com.gr.staffpm.projects.model;

import java.io.Serializable;

import com.gr.staffpm.datatypes.Role;
import com.gr.staffpm.security.constants.CRUDProjectPermission;


/**
 * @author Graham Rhodes 3 May 2011 00:03:31
 */
public class ProjectPermission implements Serializable {

    private static final long serialVersionUID = 1L;
    private Role role;
    private CRUDProjectPermission permission;

    public ProjectPermission() {
    }

    public ProjectPermission(Role role, CRUDProjectPermission permission) {
        this.role = role;
        this.permission = permission;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public CRUDProjectPermission getPermission() {
        return permission;
    }

    public void setPermission(CRUDProjectPermission permission) {
        this.permission = permission;
    }

}
